{% extends "sysadmin/base.html" %}
{% load seahub_tags i18n %}

{% block cur_info %}tab-cur{% endblock %}

{% block right_panel %}
<h3 class="hd">{% trans "Info" %}</h3>

<dl>
    <dt>{% trans "System Info" %}</dt>
    <dd>{% if is_pro %}
        {% trans "Professional Edition" %} {% if license_dict %} {% trans "expires on" %} {{ license_dict.Expiration}}{% endif %}
        {% else %}
        {% trans "Community Edition" %}
        <a href="http://manual{% if LANGUAGE_CODE == 'zh-cn' %}-cn{% endif %}.seafile.com/deploy_pro/migrate_from_seafile_community_server.html" target="_blank">{% trans "Upgrade to Pro Edition" %}</a>
        {% endif %}
    </dd>
    
    <dt>{% trans "Libraries" %}</dt>
    <dd>{{repos_count}}</dd>

    <dt>{% trans "Users" %}</dt>
    <dd>{{users_count}} {% if license_dict %}/ {{license_dict.MaxUsers}}{% endif %}</dd>

    <dt>{% trans "Groups" %}</dt>
    <dd>{{groups_count}}</dd>

    {% if multi_tenancy %}
    <dt>{% trans "Organizations" %}</dt>
    <dd>{{org_count}}</dd>
    {% endif %}

</dl>
{% endblock %}

